﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OldTruck_send.aspx.cs" Inherits="OldTruck_send" %>

<%@ Register Src="left1.ascx" TagName="left1" TagPrefix="uc4" %>

<%@ Register Src="validate.ascx" TagName="validate" TagPrefix="uc3" %>
<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="foot.ascx" TagName="foot" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>www.swc315.com-发布二手车讯 </title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-top:0px; margin-bottom: 0px;">
    <TABLE WIDTH=770 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
        <form id="form1" runat="server">
	<TR align="center"  >
		<TD WIDTH=770 height="38" COLSPAN=3  class="css" valign="top"> 
            <uc1:head ID="Head2" runat="server" />
</TD>
  </TR>
	<TR>
		<TD ROWSPAN=2 valign=top style="background-image: url(images/default_3.gif)">
<uc4:left1 ID="Left1_1" runat="server" />
      </TD>
		<TD COLSPAN=2 style="height: 3px">			
            <asp:Image ID="Image1" runat="server" ImageUrl="images/default_4.gif" /></TD>
	</TR>
	<TR>
	  <TD COLSPAN=2 align="center" valign="top" style="width:571px;height: 635px">

            <table width="354" border="1" cellspacing="0" bordercolor="#ADBDCE" style="width: 484px; height: 541px;" class=css>
              <tr>
                <td colspan=2 style="height: 38px">
                    发布二手车讯&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px; height: 26px;" align="right">&nbsp;发布类型：</td>
                <td align="left" style="width: 322px; height: 26px">
                    <asp:DropDownList ID="Type" runat="server">
                        <asp:ListItem>需求</asp:ListItem>
                        <asp:ListItem>提供</asp:ListItem>
                    </asp:DropDownList>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TruckName"
                        ErrorMessage="车辆型号不能为空">*</asp:RequiredFieldValidator>&nbsp;车辆型号：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="TruckName" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TruckSize"
                        ErrorMessage="车辆品名不能为空">*</asp:RequiredFieldValidator>&nbsp;车辆品名：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="TruckSize" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="StartDate"
                        Display="Dynamic" ErrorMessage="初始登记日期格式错误" Operator="DataTypeCheck" Type="Date">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="StartDate"
                        Display="Dynamic" ErrorMessage="初始登记日期不能为空">*</asp:RequiredFieldValidator>&nbsp;初始登记日期：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="StartDate" runat="server"></asp:TextBox>
                    例如：2006-5-12</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="RideNumber"
                        Display="Dynamic" ErrorMessage="核定客人数" Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="RideNumber"
                        Display="Dynamic" ErrorMessage="核定客人数不能为空">*</asp:RequiredFieldValidator>&nbsp;核定客人数：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="RideNumber" runat="server" Width="149px"></asp:TextBox>&nbsp;人</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TruckLicense"
                        ErrorMessage="车辆牌照不能为空">*</asp:RequiredFieldValidator>&nbsp;车辆牌照：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="TruckLicense" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToValidate="MaxWeight"
                        Display="Dynamic" ErrorMessage="最大载重必须是数字" Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="Rer6" runat="server" ControlToValidate="MaxWeight"
                        Display="Dynamic" ErrorMessage="最大载重不能为空">*</asp:RequiredFieldValidator>&nbsp;最大载重：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="MaxWeight" runat="server"></asp:TextBox>
                    吨</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:CompareValidator ID="CompareValidator4" runat="server" ControlToValidate="EffectDate"
                        Display="Dynamic" ErrorMessage="有效时间不能为空" Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="EffectDate"
                        Display="Dynamic" ErrorMessage="有效时间不能为空">*</asp:RequiredFieldValidator>&nbsp;有效时间：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="EffectDate" runat="server"></asp:TextBox>
                    天</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Color"
                        ErrorMessage="车身颜色不能为空">*</asp:RequiredFieldValidator>&nbsp;车身颜色：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="Color" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TruckNumber"
                        ErrorMessage="车牌号不能为空">*</asp:RequiredFieldValidator>
                    车牌号：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="TruckNumber" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="Area"
                        ErrorMessage="所在地区不能为空">*</asp:RequiredFieldValidator>&nbsp;所在地区：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="Area" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TruckManage"
                        ErrorMessage="所属车管所不能为空">*</asp:RequiredFieldValidator>&nbsp;所属车管所：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="TruckManage" runat="server" Width="255px"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:CompareValidator ID="CompareValidator5" runat="server" ControlToValidate="Price"
                        Display="Dynamic" ErrorMessage="价格必须是数字" Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="Price"
                        Display="Dynamic" ErrorMessage="价格不能为空">*</asp:RequiredFieldValidator>&nbsp;价格：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="Price" runat="server"></asp:TextBox>&nbsp;元</td>
              </tr>
              <tr>
                <td style="width: 156px; height: 28px;" align="right">&nbsp;新旧程度：</td>
                <td style="height: 28px; width: 322px;" align="left">
                    <asp:DropDownList ID="Old" runat="server" TabIndex="9">
                        <asp:ListItem>一成</asp:ListItem>
                        <asp:ListItem>二成</asp:ListItem>
                        <asp:ListItem>三成</asp:ListItem>
                        <asp:ListItem>四成</asp:ListItem>
                        <asp:ListItem>五成</asp:ListItem>
                        <asp:ListItem>六成</asp:ListItem>
                        <asp:ListItem>七成</asp:ListItem>
                        <asp:ListItem>八成</asp:ListItem>
                        <asp:ListItem>九成</asp:ListItem>
                        <asp:ListItem>十成</asp:ListItem>
                    </asp:DropDownList></td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="Linkman"
                        ErrorMessage="联系人不能为空">*</asp:RequiredFieldValidator>&nbsp;联系人：</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="Linkman" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px" align="right">
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="Tel" Display="Dynamic"
                        ErrorMessage="RangeValidator" MaximumValue="99999999999" MinimumValue="00000000000">*</asp:RangeValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="Tel"
                        Display="Dynamic" ErrorMessage="联系电话不能为空">*</asp:RequiredFieldValidator>&nbsp;联系电话</td>
                <td align="left" style="width: 322px">
                    <asp:TextBox ID="Tel" runat="server"></asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td style="width: 156px; height: 88px;" align="right">&nbsp;详细描述：</td>
                <td align="left" style="height: 88px; width: 322px;">
                    <asp:TextBox ID="Bewrite" runat="server" Height="69px" TextMode="MultiLine" Width="304px">无</asp:TextBox>&nbsp;</td>
              </tr>
              <tr>
                <td colspan=2 style="height: 36px">
                    <asp:Button ID="Button1" runat="server" Text="　发布　" OnClick="Button1_Click" />
                    <input id="Reset1" type="reset" value="　重置　" />&nbsp;
                </td>
              </tr>
            </table>
          <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
              ShowSummary="False" />
      </TD>
	</TR>

	<TR>
		<TD COLSPAN=3 style="height: 45px">
            <uc2:foot ID="Foot1" runat="server" />
        </TD>
	</TR>
	   </form>
</TABLE>
    <uc3:validate ID="Validate1" runat="server" />

</body>
</html>
